package com.xulu.romance.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xulu.romance.dao.UserDao;
import com.xulu.romance.pojo.User;
import com.xulu.romance.service.UserService;
import com.xulu.romance.vo.UserVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @version 1.0
 * @Author xiaoxulu
 * @Date 2024/1/13 20:58
 */

@Service
public class UserServiceImpl extends ServiceImpl<UserDao, User> implements UserService {

    @Autowired
    private UserDao userDao;

    @Override
    public boolean login(UserVo userVo) {

        return false;
    }

    @Override
    public Integer updatePasswordByEmail(String password, String email) {
        return userDao.updatePasswordByEmail(password, email);
    }
}
